package com.xuecheng.api.cms;

import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @Author Andrew Yang
 * @ClassName CmsPagePreviewControllerApi
 * @Description
 * @Package com.xuecheng.api.config
 * @create 2020-02-04 20:46
 */
public interface CmsPagePreviewControllerApi {
    @RequestMapping(value = "/cms/preview/{pageId}", method = RequestMethod.GET)
    void preview(@PathVariable("pageId") String pageId);
}
